package com.design.command;

/**
 * @author leali
 * @title: MinimizeCommand
 * @projectName design
 * @description: 最小化命令类：具体命令类
 * @date 2022/1/3 16:58
 */
public class MinimizeCommand extends Command {
    private final WindowHandler windowHandler;

    public MinimizeCommand() {
        windowHandler = new WindowHandler();
    }

    @Override
    public void execute() {
        windowHandler.minimize();
    }
}
